﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SqlMiM.Common.ViewModel;
using SqlMiM.Common.Model;
using MvvmFoundation.Wpf;

namespace SqlMiM.SqlIndexes.ViewModel
{
    public class MissingIndexView : ObservableObject
    {
        private Index index;
        private bool isChecked = false;

        public Index Index
        {
            get
            {
                return index;
            }
            set
            {
                index = value;
                this.RaisePropertyChanged("Index");
            }
        }

        public bool IsChecked
        {
            get { return isChecked; }
            set
            {
                if (value != isChecked)
                {
                    isChecked = value;
                    this.RaisePropertyChanged("IsChecked");
                }
            }
        }
    }
}
